import axios from '@/libs/api.request'

const prefix = '/web/video'
const videoApi = {
  checkVideoFile(sportsRecordId) {
    return axios.request({
      url: prefix + '/check/' + sportsRecordId,
      method: 'get'
    })
  },
  getVideoList(sportsRecordId) {
    return axios.request({
      url: prefix + '/videos/' + sportsRecordId,
      method: 'get'
    })
  }
}

export default videoApi
